package com.example.springbootsfzy.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName psychological_knowledge
 */
@Data
public class PsychologicalKnowledge implements Serializable {
    /**
     * 
     */
    private Integer knowledgeId;

    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private String content;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    /**
     * 
     */
    private String image;

    /**
     * 
     */
    private Integer consultantId;
    /**
     *
     */
    private Consultants consultant;

    private static final long serialVersionUID = 1;
}